<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head></h:head>
<h:body>
    <ui:composition template="/apps/hotel.xhtml">
        <ui:define name="content">
            <h:form>
              <h:panelGrid columns="2" style="margin-left:auto; margin-right:auto;">
                <h:outputLabel value="Phone: *" />
                <h:inputText value="#{clientControllerBean.currentClient.phone}" />
                <h:outputLabel value="Country: *" />
                <h:inputText value="#{clientControllerBean.currentClient.country}" />
                <h:outputLabel value="Province: " />
                <h:inputText value="#{clientControllerBean.currentClient.province}" />
                <h:outputLabel value="City: *" />
                <h:inputText value="#{clientControllerBean.currentClient.city}" />
                <h:outputLabel value="Address: *" />
                <h:inputText value="#{clientControllerBean.currentClient.currentAddress}" />
                <h:outputLabel value="Passport data: *" />
                <h:inputText value="#{clientControllerBean.currentClient.passportSerialNumber}" /> 
                <h:outputLabel value="Gender: " />
                <h:selectOneMenu value="#{clientControllerBean.currentClient.gender}">
                    <f:selectItems value="#{clientControllerBean.genderValues}" />
                </h:selectOneMenu> 
                <div/>
                <h:commandButton value="Submit" action="#{clientControllerBean.addInfo}" style="margin-top:10px;"/>
              </h:panelGrid>
            </h:form>
        </ui:define>
    </ui:composition>
</h:body>
</html>